/**
 * 
 */
package com.pxxy.cels.entity;

import java.io.Serializable;

/**
 * @author yejf
 * 测试记录明细
 *
 */
public class TestDetail implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8268118271907489344L;
	//主键
	private long id;
	//测试的单词或词汇 
	private String en; 
	//中文解释
	private String cn; 
	//在测试中的序号
	private int seq;
	//回答正确与滞
	private boolean correct; //正确为 y, 错误为 n
		
	//所属的测试记录
	private TestRecord testRecord;

	
	public TestDetail() {
		super();
	}

	public TestDetail(String en, String cn, int seq, boolean correct) {
		super();
		this.en = en;
		this.cn = cn;
		this.seq = seq;
		this.correct = correct;
	}


	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getEn() {
		return en;
	}

	public void setEn(String en) {
		this.en = en;
	}

	public String getCn() {
		return cn;
	}

	public void setCn(String cn) {
		this.cn = cn;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public boolean isCorrect() {
		return correct;
	}

	public void setCorrect(boolean correct) {
		this.correct = correct;
	}

	public TestRecord getTestRecord() {
		return testRecord;
	}

	public void setTestRecord(TestRecord testRecord) {
		this.testRecord = testRecord;
	}
	
	//
}
